@extends('business.layout')
@section('content')

 <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                商家信息
                <small>修改密码</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i>后台主页</a></li>
                <li><a href="#">商家信息</a></li>
                <li class="active">修改</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <!-- left column -->
                <div class="col-md-12">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">修改密码</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form" action="{{url('/business/user/renew')}}" method="post">
                        	{{csrf_field()}}
                            <div class="box-body">
                            @if(count($errors) > 0)
	                            <div class="alert alert-danger alert-dismissable">
				                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
				                    <h4><i class="icon fa fa-ban"></i>温馨提示!</h4>
				                   		<ul>
				                   			@foreach($errors -> all() as $error)
				                   			<li>
				                   				{{$error}}
				                   			</li>
				                   			@endforeach
				                   		</ul>
				                </div>
				            @endif
                            <div class="form-group">
                                <label for="exampleInputEmail1">新密码</label>
                                <input type="password" name="password" class="form-control" id="exampleInputUsername" placeholder="请输入新密码">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputEmail1">确认密码</label>
                                <input type="password" name="repassword" class="form-control" id="exampleInputUsername" placeholder="请确认新密码">
                            </div>
                            
                                
                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">更改</button>
                            </div>
                        </form>
                    </div><!-- /.box -->
		 	</div><!--/.col (left) -->
                
               
            </div>   <!-- /.row -->
        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->

@endsection